package io.renren.modules.blog.dto;

import java.util.Date;

import io.renren.common.validator.group.AddGroup;
import io.renren.common.validator.group.DefaultGroup;
import io.renren.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;

@Data
@ApiModel(value = "")
public class BlogArticleTagDto implements Serializable {
    private static final long serialVersionUID = 1L;


    @Null(message = "{BlogArticleTagEntity.id.require}", groups = AddGroup.class)
    @NotNull(message = "{BlogArticleTagEntity.id.require}", groups = UpdateGroup.class)
    private Long id;


    @NotNull(message = "{BlogArticleTagEntity.articleId.require}", groups = DefaultGroup.class)
    private Long articleId;


    @NotNull(message = "{BlogArticleTagEntity.tagId.require}", groups = DefaultGroup.class)
    private Long tagId;



}
